package com.workManager.mapper;

import com.workManager.pojo.TbPaymentPlan;
import com.workManager.pojo.TbPaymentPlanExample;
import java.util.List;
import java.util.Map;

import com.workManager.vo.PaymentPlanVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TbPaymentPlanMapper {
    int countByExample(TbPaymentPlanExample example);

    int deleteByExample(TbPaymentPlanExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbPaymentPlan record);

    int insertSelective(TbPaymentPlan record);

    List<TbPaymentPlan> selectByExample(TbPaymentPlanExample example);

    TbPaymentPlan selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbPaymentPlan record, @Param("example") TbPaymentPlanExample example);

    int updateByExample(@Param("record") TbPaymentPlan record, @Param("example") TbPaymentPlanExample example);

    int updateByPrimaryKeySelective(TbPaymentPlan record);

    int updateByPrimaryKey(TbPaymentPlan record);

    List<PaymentPlanVo> query(Map map);

    int makeInvoice(Map map);

    int add(TbPaymentPlan record);

    int invalid(Map map);
}